2024-03-19 17:48:46,508 [ 197597 ] INFO : ClickHouse root is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy (runner:41, check_args_and_update_paths) 2024-03-19 17:48:46,508 [ 197597 ] INFO : Cases dir is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration (runner:89, check_args_and_update_paths) 2024-03-19 17:48:46,508 [ 197597 ] INFO : src dir is not set. Will use /home/ubuntu/_work/_temp/test/git-repo-copy/src (runner:96, check_args_and_update_paths) 2024-03-19 17:48:46,508 [ 197597 ] INFO : base_configs_dir: /home/ubuntu/_work/_temp/test/git-repo-copy/programs/server, binary: /home/ubuntu/_work/_temp/test/build/clickhouse, cases_dir: /home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration (runner:98, check_args_and_update_paths) clickhouse_integration_tests_volume WARNING: Ignoring custom format, because both --format and --quiet are set. Running pytest container as: 'docker run --rm --name clickhouse_integration_tests_ussujc --privileged --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/src/Server/grpc_protos:/ClickHouse/src/Server/grpc_protos --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e XTABLES_LOCKFILE=/run/host/xtables.lock -e PYTHONUNBUFFERED=1 -e DOCKER_DOTNET_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_HELPER_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_BASE_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBERIZED_HADOOP_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBEROS_KDC_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JS_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_PHP_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e PYTEST_OPTS='--dist=loadfile -n 10 -rfEps --run-id=0 --color=no --durations=0 test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema test_postgresql_replica_database_engine_2/test.py::test_materialized_view test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication test_postgresql_replica_database_engine_2/test.py::test_table_override test_profile_events_s3/test.py::test_profile_events test_range_hashed_dictionary_types/test.py::test_range_hashed_dict test_remote_prewhere/test.py::test_remote test_rename_column/test.py::test_rename_distributed test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select test_rename_column/test.py::test_rename_parallel test_rename_column/test.py::test_rename_parallel_same_node test_rename_column/test.py::test_rename_with_parallel_insert test_rename_column/test.py::test_rename_with_parallel_merges test_rename_column/test.py::test_rename_with_parallel_select test_rename_column/test.py::test_rename_with_parallel_slow_insert test_rename_column/test.py::test_rename_with_parallel_ttl_delete test_rename_column/test.py::test_rename_with_parallel_ttl_move test_replicated_table_attach/test.py::test_startup_with_small_bg_pool test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop test_rocksdb_read_only/test.py::test_read_only test_s3_low_cardinality_right_border/test.py::test_s3_right_border test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 test_select_access_rights/test_from_system_tables.py::test_information_schema test_select_access_rights/test_from_system_tables.py::test_system_db test_settings_constraints/test.py::test_max_constraint test_settings_constraints/test.py::test_min_constraint test_settings_constraints/test.py::test_read_only_constraint test_settings_constraints/test.py::test_system_constraints test_settings_constraints/test.py::test_system_settings test_structured_logging_json/test.py::test_structured_logging_json_format test_system_logs_recreate/test.py::test_drop_system_log test_system_logs_recreate/test.py::test_system_logs_recreate test_table_functions_access_rights/test.py::test_merge test_table_functions_access_rights/test.py::test_view_if_permitted test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert test_ttl_replicated/test.py::test_merge_with_ttl_timeout test_ttl_replicated/test.py::test_modify_column_ttl test_ttl_replicated/test.py::test_modify_ttl test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] test_ttl_replicated/test.py::test_ttl_columns test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error test_ttl_replicated/test.py::test_ttl_empty_parts test_ttl_replicated/test.py::test_ttl_many_columns test_ttl_replicated/test.py::test_ttl_table[DELETE] test_ttl_replicated/test.py::test_ttl_table[] test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server test_version_update/test.py::test_aggregate_function_versioning_issue_16587 test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata test_version_update/test.py::test_aggregate_function_versioning_server_upgrade test_version_update/test.py::test_modulo_partition_key_issue_23508 test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root -vvv' altinityinfra/integration-tests-runner:0-0a8ac3b092733da37e3e2a0079c486938a36790d '. Start tests ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-8.0.2, pluggy-1.4.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /ClickHouse/tests/integration configfile: pytest.ini plugins: repeat-0.9.3, xdist-3.5.0, random-0.2, timeout-2.2.0, order-1.0.0 timeout: 900.0s timeout method: signal timeout func_only: False created: 10/10 workers 10 workers [69 items] scheduling tests via LoadFileScheduling test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 test_settings_constraints/test.py::test_max_constraint test_ttl_replicated/test.py::test_merge_with_ttl_timeout test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server test_rename_column/test.py::test_rename_distributed test_replicated_table_attach/test.py::test_startup_with_small_bg_pool test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop test_s3_low_cardinality_right_border/test.py::test_s3_right_border test_timezone_config/test.py::test_check_timezone_config test_tlsv1_3/test.py::test_create_user [gw4] [ 1%] PASSED test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort [gw5] [ 2%] FAILED test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https [gw5] [ 4%] FAILED test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth [gw5] [ 5%] FAILED test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert [gw5] [ 7%] FAILED test_tlsv1_3/test.py::test_https_wrong_cert [gw4] [ 8%] PASSED test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort test_timezone_config/test.py::test_overflow_toDate [gw4] [ 10%] PASSED test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 [gw3] [ 11%] PASSED test_settings_constraints/test.py::test_max_constraint test_settings_constraints/test.py::test_min_constraint [gw4] [ 13%] PASSED test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime [gw4] [ 14%] PASSED test_timezone_config/test.py::test_overflow_toDateTime [gw3] [ 15%] PASSED test_settings_constraints/test.py::test_min_constraint test_settings_constraints/test.py::test_read_only_constraint test_table_functions_access_rights/test.py::test_merge [gw7] [ 17%] PASSED test_s3_low_cardinality_right_border/test.py::test_s3_right_border test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 [gw3] [ 18%] PASSED test_settings_constraints/test.py::test_read_only_constraint test_settings_constraints/test.py::test_system_constraints test_zookeeper_config/test.py::test_chroot_with_different_root [gw7] [ 20%] PASSED test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 [gw3] [ 21%] PASSED test_settings_constraints/test.py::test_system_constraints test_settings_constraints/test.py::test_system_settings [gw7] [ 23%] PASSED test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 [gw3] [ 24%] PASSED test_settings_constraints/test.py::test_system_settings test_remote_prewhere/test.py::test_remote [gw8] [ 26%] PASSED test_replicated_table_attach/test.py::test_startup_with_small_bg_pool test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned [gw9] [ 27%] PASSED test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop test_rocksdb_read_only/test.py::test_read_only [gw5] [ 28%] PASSED test_table_functions_access_rights/test.py::test_merge test_table_functions_access_rights/test.py::test_view_if_permitted [gw9] [ 30%] PASSED test_rocksdb_read_only/test.py::test_read_only [gw5] [ 31%] PASSED test_table_functions_access_rights/test.py::test_view_if_permitted test_system_logs_recreate/test.py::test_drop_system_log test_profile_events_s3/test.py::test_profile_events [gw3] [ 33%] PASSED test_remote_prewhere/test.py::test_remote [gw1] [ 34%] PASSED test_rename_column/test.py::test_rename_distributed test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select [gw2] [ 36%] PASSED test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 test_range_hashed_dictionary_types/test.py::test_range_hashed_dict [gw9] [ 37%] PASSED test_system_logs_recreate/test.py::test_drop_system_log test_system_logs_recreate/test.py::test_system_logs_recreate [gw6] [ 39%] PASSED test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server test_version_update/test.py::test_aggregate_function_versioning_issue_16587 [gw6] [ 40%] PASSED test_version_update/test.py::test_aggregate_function_versioning_issue_16587 test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata [gw4] [ 42%] PASSED test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root [gw5] [ 43%] PASSED test_profile_events_s3/test.py::test_profile_events [gw4] [ 44%] PASSED test_zookeeper_config/test.py::test_chroot_with_same_root [gw8] [ 46%] PASSED test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned [gw7] [ 47%] PASSED test_range_hashed_dictionary_types/test.py::test_range_hashed_dict [gw2] [ 49%] PASSED test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema test_structured_logging_json/test.py::test_structured_logging_json_format test_select_access_rights/test_from_system_tables.py::test_information_schema [gw0] [ 50%] PASSED test_ttl_replicated/test.py::test_merge_with_ttl_timeout test_ttl_replicated/test.py::test_modify_column_ttl [gw1] [ 52%] PASSED test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select test_rename_column/test.py::test_rename_parallel [gw0] [ 53%] PASSED test_ttl_replicated/test.py::test_modify_column_ttl test_ttl_replicated/test.py::test_modify_ttl [gw0] [ 55%] PASSED test_ttl_replicated/test.py::test_modify_ttl test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] [gw9] [ 56%] PASSED test_system_logs_recreate/test.py::test_system_logs_recreate [gw0] [ 57%] PASSED test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] [gw4] [ 59%] PASSED test_structured_logging_json/test.py::test_structured_logging_json_format [gw8] [ 60%] PASSED test_select_access_rights/test_from_system_tables.py::test_information_schema test_select_access_rights/test_from_system_tables.py::test_system_db [gw2] [ 62%] PASSED test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema [gw6] [ 63%] PASSED test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata test_version_update/test.py::test_aggregate_function_versioning_server_upgrade test_postgresql_replica_database_engine_2/test.py::test_materialized_view [gw0] [ 65%] PASSED test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] test_ttl_replicated/test.py::test_ttl_columns [gw8] [ 66%] PASSED test_select_access_rights/test_from_system_tables.py::test_system_db [gw0] [ 68%] PASSED test_ttl_replicated/test.py::test_ttl_columns test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] [gw1] [ 69%] PASSED test_rename_column/test.py::test_rename_parallel test_rename_column/test.py::test_rename_parallel_same_node [gw2] [ 71%] PASSED test_postgresql_replica_database_engine_2/test.py::test_materialized_view test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration [gw2] [ 72%] PASSED test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication [gw1] [ 73%] PASSED test_rename_column/test.py::test_rename_parallel_same_node test_rename_column/test.py::test_rename_with_parallel_insert [gw0] [ 75%] PASSED test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] [gw6] [ 76%] PASSED test_version_update/test.py::test_aggregate_function_versioning_server_upgrade test_version_update/test.py::test_modulo_partition_key_issue_23508 [gw2] [ 78%] PASSED test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication test_postgresql_replica_database_engine_2/test.py::test_table_override [gw2] [ 79%] PASSED test_postgresql_replica_database_engine_2/test.py::test_table_override [gw1] [ 81%] PASSED test_rename_column/test.py::test_rename_with_parallel_insert test_rename_column/test.py::test_rename_with_parallel_merges [gw6] [ 82%] PASSED test_version_update/test.py::test_modulo_partition_key_issue_23508 [gw0] [ 84%] PASSED test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] [gw1] [ 85%] PASSED test_rename_column/test.py::test_rename_with_parallel_merges test_rename_column/test.py::test_rename_with_parallel_select [gw1] [ 86%] PASSED test_rename_column/test.py::test_rename_with_parallel_select test_rename_column/test.py::test_rename_with_parallel_slow_insert [gw0] [ 88%] PASSED test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error [gw0] [ 89%] PASSED test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error test_ttl_replicated/test.py::test_ttl_empty_parts [gw1] [ 91%] PASSED test_rename_column/test.py::test_rename_with_parallel_slow_insert test_rename_column/test.py::test_rename_with_parallel_ttl_delete [gw0] [ 92%] PASSED test_ttl_replicated/test.py::test_ttl_empty_parts test_ttl_replicated/test.py::test_ttl_many_columns [gw0] [ 94%] PASSED test_ttl_replicated/test.py::test_ttl_many_columns test_ttl_replicated/test.py::test_ttl_table[DELETE] [gw0] [ 95%] PASSED test_ttl_replicated/test.py::test_ttl_table[DELETE] test_ttl_replicated/test.py::test_ttl_table[] [gw0] [ 97%] PASSED test_ttl_replicated/test.py::test_ttl_table[] [gw1] [ 98%] PASSED test_rename_column/test.py::test_rename_with_parallel_ttl_delete test_rename_column/test.py::test_rename_with_parallel_ttl_move [gw1] [100%] PASSED test_rename_column/test.py::test_rename_with_parallel_ttl_move =================================== FAILURES =================================== _______________________________ test_create_user _______________________________ [gw5] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_create_user(): instance.query("CREATE USER emma IDENTIFIED WITH ssl_certificate CN 'client3'") > assert ( execute_query_https("SELECT currentUser()", user="emma", cert_name="client3") == "emma\n" ) test_tlsv1_3/test.py:206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ---------------------------- Captured stdout setup ----------------------------- Copy common default production configuration from /clickhouse-config. Files: config.xml, users.xml ------------------------------ Captured log setup ------------------------------ 2024-03-19 17:48:51 [ 412 ] DEBUG : Command:['docker ps | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Stdout:1 (cluster.py:105, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : No running containers (conftest.py:44, cleanup_environment) 2024-03-19 17:48:51 [ 412 ] INFO : Running tests in /ClickHouse/tests/integration/test_tlsv1_3/test.py (cluster.py:2508, start) 2024-03-19 17:48:51 [ 412 ] DEBUG : Cluster start called. is_up=False (cluster.py:2515, start) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Cleanup called (cluster.py:654, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 17:48:51 [ 412 ] DEBUG : Command:docker container list --all --filter name='^/roottesttlsv13_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:97, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Unstopped containers: {} (cluster.py:668, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : No running containers for project: roottesttlsv13 (cluster.py:682, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Trying to prune unused networks... (cluster.py:688, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Trying to prune unused images... (cluster.py:704, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:97, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:105, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Images pruned (cluster.py:707, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Trying to prune unused volumes... (cluster.py:713, cleanup) 2024-03-19 17:48:51 [ 412 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Stdout:1 (cluster.py:105, run_and_check) 2024-03-19 17:48:51 [ 412 ] DEBUG : Setup directory for instance: node (cluster.py:2528, start) 2024-03-19 17:48:51 [ 412 ] DEBUG : Create directory for configuration generated in this helper (cluster.py:4146, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Create directory for common tests configuration (cluster.py:4151, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Copy common configuration from helpers (cluster.py:4171, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Generate and write macros file (cluster.py:4184, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Copy custom test config files ['/ClickHouse/tests/integration/test_tlsv1_3/configs/ssl_config.xml', '/ClickHouse/tests/integration/test_tlsv1_3/certs/server-key.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/server-cert.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/ca-cert.pem', '/ClickHouse/tests/integration/test_tlsv1_3/certs/dhparam4096.pem'] to /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/configs/config.d (cluster.py:4215, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Setup database dir /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/database (cluster.py:4232, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Setup logs dir /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs (cluster.py:4243, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Entrypoint cmd: ["clickhouse", "server", "--config-file=/etc/clickhouse-server/config.xml", "--log-file=/var/log/clickhouse-server/clickhouse-server.log", "--errorlog-file=/var/log/clickhouse-server/clickhouse-server.err.log"] (cluster.py:4319, create_dir) 2024-03-19 17:48:51 [ 412 ] DEBUG : Env {'TSAN_OPTIONS': 'second_deadlock_stack=1', 'ASAN_OPTIONS': 'use_sigaltstack=0', 'CLICKHOUSE_WATCHDOG_ENABLE': '0', 'CLICKHOUSE_NATS_TLS_SECURE': '0', 'LLVM_PROFILE_FILE': '/var/lib/clickhouse/server_%h_%p_%m.profraw'} stored in /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env (cluster.py:70, _create_env_file) 2024-03-19 17:48:51 [ 412 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2024-03-19 17:48:51 [ 412 ] DEBUG : No config file found (config.py:28, find_config_file) 2024-03-19 17:48:51 [ 412 ] DEBUG : Trying paths: ['/root/.docker/config.json', '/root/.dockercfg'] (config.py:21, find_config_file) 2024-03-19 17:48:51 [ 412 ] DEBUG : No config file found (config.py:28, find_config_file) 2024-03-19 17:48:51 [ 412 ] DEBUG : http://localhost:None "GET /version HTTP/1.1" 200 824 (connectionpool.py:429, _make_request) 2024-03-19 17:48:51 [ 412 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'pull'] (cluster.py:97, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : Stderr:Pulling node ... (cluster.py:107, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : Stderr:Pulling node ... pulling from altinityinfra/integr... (cluster.py:107, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : Stderr:Pulling node ... digest: sha256:5a6b09e905506d4aea... (cluster.py:107, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : Stderr:Pulling node ... status: image is up to date for a... (cluster.py:107, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : Stderr:Pulling node ... done (cluster.py:107, run_and_check) 2024-03-19 17:49:02 [ 412 ] DEBUG : ('Trying to create ClickHouse instance by command %s', 'docker-compose --env-file /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env --project-name roottesttlsv13 --file /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml up -d --no-recreate') (cluster.py:2852, start) 2024-03-19 17:49:02 [ 412 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'up', '-d', '--no-recreate'] (cluster.py:97, run_and_check) 2024-03-19 17:49:04 [ 412 ] DEBUG : Stderr:Creating network "roottesttlsv13_default" with the default driver (cluster.py:107, run_and_check) 2024-03-19 17:49:04 [ 412 ] DEBUG : Stderr:Creating roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 17:49:04 [ 412 ] DEBUG : Stderr:Creating roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 17:49:04 [ 412 ] DEBUG : ClickHouse instance created (cluster.py:2860, start) 2024-03-19 17:49:04 [ 412 ] DEBUG : get_instance_ip instance_name=node (cluster.py:1851, get_instance_ip) 2024-03-19 17:49:04 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/roottesttlsv13_node_1/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:04 [ 412 ] DEBUG : Waiting for ClickHouse start in node, ip: 172.16.2.2... (cluster.py:2867, start) 2024-03-19 17:49:04 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/roottesttlsv13_node_1/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:04 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:04 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:04 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:05 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:06 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:07 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:07 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:07 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:07 [ 412 ] DEBUG : http://localhost:None "GET /v1.44/containers/1a4c582aabd59b3fb3dd8359cf774acfcd6dee5d1fa8ffdc5f6b230922431956/json HTTP/1.1" 200 None (connectionpool.py:429, _make_request) 2024-03-19 17:49:07 [ 412 ] DEBUG : ClickHouse node started (cluster.py:2871, start) ------------------------------ Captured log call ------------------------------- 2024-03-19 17:49:07 [ 412 ] DEBUG : Executing query CREATE USER emma IDENTIFIED WITH ssl_certificate CN 'client3' on node (cluster.py:3300, query) __________________________________ test_https __________________________________ [gw5] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_https(): > assert ( execute_query_https("SELECT currentUser()", user="john", cert_name="client1") == "john\n" ) test_tlsv1_3/test.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ___________________________ test_https_non_ssl_auth ____________________________ [gw5] linux -- Python 3.8.10 /usr/bin/python3 self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: > h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) /usr/lib/python3.8/urllib/request.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/http/client.py:1256: in request self._send_request(method, url, body, headers, encode_chunked) /usr/lib/python3.8/http/client.py:1302: in _send_request self.endheaders(body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1251: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /usr/lib/python3.8/http/client.py:1011: in _send_output self.send(msg) /usr/lib/python3.8/http/client.py:951: in send self.connect() /usr/lib/python3.8/http/client.py:1425: in connect self.sock = self._context.wrap_socket(self.sock, helpers/ssl_context.py:12: in wrap_socket return super().wrap_socket(sock, *args, **kwargs) /usr/lib/python3.8/ssl.py:500: in wrap_socket return self.sslsocket_class._create( /usr/lib/python3.8/ssl.py:1069: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131) /usr/lib/python3.8/ssl.py:1338: SSLEOFError During handling of the above exception, another exception occurred: def test_https_non_ssl_auth(): # Users with non-SSL authentication are allowed, in this case we can skip sending a client certificate at all (because "verificationMode" is set to "relaxed"). # assert execute_query_https("SELECT currentUser()", user="peter", enable_ssl_auth=False) == "peter\n" > assert ( execute_query_https( "SELECT currentUser()", user="jane", enable_ssl_auth=False, password="qwe123", ) == "jane\n" ) test_tlsv1_3/test.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_tlsv1_3/test.py:64: in execute_query_https response = urllib.request.urlopen( /usr/lib/python3.8/urllib/request.py:222: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.8/urllib/request.py:525: in open response = self._open(req, data) /usr/lib/python3.8/urllib/request.py:542: in _open result = self._call_chain(self.handle_open, protocol, protocol + /usr/lib/python3.8/urllib/request.py:502: in _call_chain result = func(*args) /usr/lib/python3.8/urllib/request.py:1397: in https_open return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = http_class = req = http_conn_args = {'check_hostname': None, 'context': } host = '172.16.2.2:8443' h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. http_class must implement the HTTPConnection API from http.client. """ host = req.host if not host: raise URLError('no host given') # will parse host:port h = http_class(host, timeout=req.timeout, **http_conn_args) h.set_debuglevel(self._debuglevel) headers = dict(req.unredirected_hdrs) headers.update({k: v for k, v in req.headers.items() if k not in headers}) # TODO(jhylton): Should this be redesigned to handle # persistent connections? # We want to make an HTTP/1.1 request, but the addinfourl # class isn't prepared to deal with a persistent connection. # It will try to read all remaining data from the socket, # which will block while the server waits for the next request. # So make sure the connection gets closed after the (only) # request. headers["Connection"] = "close" headers = {name.title(): val for name, val in headers.items()} if req._tunnel_host: tunnel_headers = {} proxy_auth_hdr = "Proxy-Authorization" if proxy_auth_hdr in headers: tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr] # Proxy-Authorization should not be sent to origin # server. del headers[proxy_auth_hdr] h.set_tunnel(req._tunnel_host, headers=tunnel_headers) try: try: h.request(req.get_method(), req.selector, req.data, headers, encode_chunked=req.has_header('Transfer-encoding')) except OSError as err: # timeout error > raise URLError(err) E urllib.error.URLError: /usr/lib/python3.8/urllib/request.py:1357: URLError ____________________________ test_https_wrong_cert _____________________________ [gw5] linux -- Python 3.8.10 /usr/bin/python3 def test_https_wrong_cert(): # Wrong certificate: different user's certificate with pytest.raises(Exception) as err: execute_query_https("SELECT currentUser()", user="john", cert_name="client2") > assert "HTTP Error 403" in str(err.value) E AssertionError: assert 'HTTP Error 403' in '' E + where '' = str(URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))) E + where URLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')) = .value test_tlsv1_3/test.py:89: AssertionError ---------------------------- Captured log teardown ----------------------------- 2024-03-19 17:49:08 [ 412 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'stop', '--timeout', '20'] (cluster.py:97, run_and_check) 2024-03-19 17:49:10 [ 412 ] DEBUG : Stderr:Stopping roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 17:49:10 [ 412 ] DEBUG : Stderr:Stopping roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 17:49:10 [ 412 ] DEBUG : Command:['bash', '-c', '[ -f /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs/stderr.log ] && zgrep -aH "==================" /ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/logs/stderr.log* || true'] (cluster.py:97, run_and_check) 2024-03-19 17:49:10 [ 412 ] DEBUG : Command:['docker-compose', '--env-file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/.env', '--project-name', 'roottesttlsv13', '--file', '/ClickHouse/tests/integration/test_tlsv1_3/_instances_0/node/docker-compose.yml', 'down', '--volumes'] (cluster.py:97, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Stderr:Removing roottesttlsv13_node_1 ... (cluster.py:107, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Stderr:Removing roottesttlsv13_node_1 ... done (cluster.py:107, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Stderr:Removing network roottesttlsv13_default (cluster.py:107, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Cleanup called (cluster.py:654, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Docker networks for project roottesttlsv13 are NETWORK ID NAME DRIVER SCOPE (cluster.py:633, print_all_docker_pieces) 2024-03-19 17:49:11 [ 412 ] DEBUG : Docker containers for project roottesttlsv13 are CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES (cluster.py:641, print_all_docker_pieces) 2024-03-19 17:49:11 [ 412 ] DEBUG : Docker volumes for project roottesttlsv13 are DRIVER VOLUME NAME (cluster.py:649, print_all_docker_pieces) 2024-03-19 17:49:11 [ 412 ] DEBUG : Command:docker container list --all --filter name='^/roottesttlsv13_.*_1$' --format '{{.ID}}:{{.Names}}' (cluster.py:97, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Unstopped containers: {} (cluster.py:668, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : No running containers for project: roottesttlsv13 (cluster.py:682, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Trying to prune unused networks... (cluster.py:688, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Trying to prune unused images... (cluster.py:704, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Command:['docker', 'image', 'prune', '-f'] (cluster.py:97, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Stdout:Total reclaimed space: 0B (cluster.py:105, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Images pruned (cluster.py:707, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Trying to prune unused volumes... (cluster.py:713, cleanup) 2024-03-19 17:49:11 [ 412 ] DEBUG : Command:['docker volume ls | wc -l'] (cluster.py:97, run_and_check) 2024-03-19 17:49:11 [ 412 ] DEBUG : Stdout:4 (cluster.py:105, run_and_check) ============================== slowest durations =============================== 50.84s setup test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server 47.72s call test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] 41.60s setup test_ttl_replicated/test.py::test_merge_with_ttl_timeout 34.87s call test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select 33.69s call test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] 33.67s call test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata 33.47s call test_ttl_replicated/test.py::test_merge_with_ttl_timeout 31.81s call test_system_logs_recreate/test.py::test_system_logs_recreate 31.38s call test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned 30.41s setup test_rename_column/test.py::test_rename_distributed 29.67s setup test_zookeeper_config/test.py::test_chroot_with_different_root 26.68s call test_rename_column/test.py::test_rename_with_parallel_slow_insert 25.65s call test_rename_column/test.py::test_rename_with_parallel_ttl_delete 24.95s call test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 23.93s call test_rename_column/test.py::test_rename_with_parallel_merges 23.80s call test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication 23.04s call test_rename_column/test.py::test_rename_with_parallel_insert 22.57s call test_version_update/test.py::test_modulo_partition_key_issue_23508 22.31s teardown test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 22.21s call test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema 21.96s teardown test_profile_events_s3/test.py::test_profile_events 21.29s teardown test_rename_column/test.py::test_rename_with_parallel_ttl_move 20.68s call test_rename_column/test.py::test_rename_with_parallel_ttl_move 20.57s call test_version_update/test.py::test_aggregate_function_versioning_server_upgrade 20.31s setup test_replicated_table_attach/test.py::test_startup_with_small_bg_pool 19.14s setup test_s3_low_cardinality_right_border/test.py::test_s3_right_border 18.49s call test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 18.30s setup test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 16.74s setup test_settings_constraints/test.py::test_max_constraint 16.69s setup test_profile_events_s3/test.py::test_profile_events 16.37s setup test_timezone_config/test.py::test_check_timezone_config 16.26s setup test_tlsv1_3/test.py::test_create_user 16.15s setup test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop 15.70s setup test_structured_logging_json/test.py::test_structured_logging_json_format 15.17s teardown test_version_update/test.py::test_modulo_partition_key_issue_23508 15.15s setup test_range_hashed_dictionary_types/test.py::test_range_hashed_dict 14.41s call test_rename_column/test.py::test_rename_parallel 13.72s call test_rename_column/test.py::test_rename_with_parallel_select 13.29s teardown test_ttl_replicated/test.py::test_ttl_table[] 13.24s call test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] 13.05s call test_rename_column/test.py::test_rename_parallel_same_node 12.86s call test_system_logs_recreate/test.py::test_drop_system_log 12.84s teardown test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned 12.36s setup test_select_access_rights/test_from_system_tables.py::test_information_schema 12.04s call test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop 12.03s call test_rename_column/test.py::test_rename_distributed 11.03s setup test_remote_prewhere/test.py::test_remote 10.98s teardown test_zookeeper_config/test.py::test_chroot_with_same_root 7.58s call test_ttl_replicated/test.py::test_ttl_empty_parts 6.88s call test_replicated_table_attach/test.py::test_startup_with_small_bg_pool 6.78s call test_postgresql_replica_database_engine_2/test.py::test_table_override 6.78s setup test_table_functions_access_rights/test.py::test_merge 5.08s call test_select_access_rights/test_from_system_tables.py::test_system_db 5.05s setup test_system_logs_recreate/test.py::test_drop_system_log 4.76s call test_postgresql_replica_database_engine_2/test.py::test_materialized_view 4.55s call test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] 4.24s call test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] 4.14s call test_ttl_replicated/test.py::test_ttl_many_columns 3.83s call test_profile_events_s3/test.py::test_profile_events 3.40s teardown test_structured_logging_json/test.py::test_structured_logging_json_format 3.40s teardown test_table_functions_access_rights/test.py::test_view_if_permitted 3.25s teardown test_remote_prewhere/test.py::test_remote 3.18s teardown test_postgresql_replica_database_engine_2/test.py::test_table_override 3.14s teardown test_tlsv1_3/test.py::test_https_wrong_cert 3.04s teardown test_select_access_rights/test_from_system_tables.py::test_system_db 3.02s teardown test_timezone_config/test.py::test_overflow_toDateTime 3.00s call test_zookeeper_config/test.py::test_chroot_with_same_root 2.93s call test_ttl_replicated/test.py::test_ttl_table[] 2.88s call test_ttl_replicated/test.py::test_ttl_columns 2.79s teardown test_range_hashed_dictionary_types/test.py::test_range_hashed_dict 2.74s teardown test_settings_constraints/test.py::test_system_settings 2.73s call test_ttl_replicated/test.py::test_ttl_table[DELETE] 2.69s call test_table_functions_access_rights/test.py::test_merge 2.53s call test_ttl_replicated/test.py::test_modify_ttl 2.41s call test_select_access_rights/test_from_system_tables.py::test_information_schema 2.39s call test_ttl_replicated/test.py::test_modify_column_ttl 2.25s call test_s3_low_cardinality_right_border/test.py::test_s3_right_border 2.18s call test_settings_constraints/test.py::test_read_only_constraint 2.05s call test_zookeeper_config/test.py::test_chroot_with_different_root 1.84s call test_rocksdb_read_only/test.py::test_read_only 1.64s call test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server 1.63s teardown test_system_logs_recreate/test.py::test_system_logs_recreate 1.63s call test_settings_constraints/test.py::test_max_constraint 1.58s call test_settings_constraints/test.py::test_min_constraint 1.56s teardown test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 1.46s call test_version_update/test.py::test_aggregate_function_versioning_issue_16587 1.44s call test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 1.36s teardown test_rocksdb_read_only/test.py::test_read_only 1.26s teardown test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 1.26s teardown test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema 1.18s call test_table_functions_access_rights/test.py::test_view_if_permitted 1.13s call test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration 1.06s teardown test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication 1.05s call test_settings_constraints/test.py::test_system_constraints 0.90s call test_structured_logging_json/test.py::test_structured_logging_json_format 0.88s call test_timezone_config/test.py::test_overflow_toDateTime 0.86s call test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error 0.78s call test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 0.78s call test_settings_constraints/test.py::test_system_settings 0.72s call test_range_hashed_dictionary_types/test.py::test_range_hashed_dict 0.67s call test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.59s teardown test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration 0.56s call test_timezone_config/test.py::test_overflow_toDate32 0.56s call test_timezone_config/test.py::test_overflow_toDate 0.55s teardown test_postgresql_replica_database_engine_2/test.py::test_materialized_view 0.22s call test_remote_prewhere/test.py::test_remote 0.22s call test_timezone_config/test.py::test_check_timezone_config 0.18s call test_tlsv1_3/test.py::test_create_user 0.17s setup test_select_access_rights/test_from_system_tables.py::test_system_db 0.17s teardown test_table_functions_access_rights/test.py::test_merge 0.00s call test_tlsv1_3/test.py::test_https_wrong_cert 0.00s call test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s call test_tlsv1_3/test.py::test_https 0.00s teardown test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server 0.00s teardown test_zookeeper_config/test.py::test_chroot_with_different_root 0.00s setup test_ttl_replicated/test.py::test_ttl_table[DELETE] 0.00s teardown test_ttl_replicated/test.py::test_merge_with_ttl_timeout 0.00s teardown test_rename_column/test.py::test_rename_with_parallel_slow_insert 0.00s teardown test_rename_column/test.py::test_rename_with_parallel_ttl_delete 0.00s teardown test_replicated_table_attach/test.py::test_startup_with_small_bg_pool 0.00s teardown test_rename_column/test.py::test_rename_distributed 0.00s teardown test_ttl_replicated/test.py::test_ttl_many_columns 0.00s setup test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] 0.00s teardown test_s3_low_cardinality_right_border/test.py::test_s3_right_border 0.00s teardown test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] 0.00s setup test_rename_column/test.py::test_rename_parallel 0.00s teardown test_rename_column/test.py::test_rename_with_parallel_merges 0.00s setup test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 0.00s setup test_rename_column/test.py::test_rename_with_parallel_ttl_delete 0.00s setup test_rename_column/test.py::test_rename_with_parallel_insert 0.00s teardown test_rename_column/test.py::test_rename_parallel 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_table_override 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 0.00s setup test_table_functions_access_rights/test.py::test_view_if_permitted 0.00s setup test_rename_column/test.py::test_rename_with_parallel_merges 0.00s teardown test_rename_column/test.py::test_rename_with_parallel_select 0.00s teardown test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select 0.00s teardown test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema 0.00s setup test_timezone_config/test.py::test_overflow_toDate32 0.00s setup test_version_update/test.py::test_aggregate_function_versioning_issue_16587 0.00s setup test_rename_column/test.py::test_rename_with_parallel_select 0.00s teardown test_rename_column/test.py::test_rename_with_parallel_insert 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_materialized_view 0.00s teardown test_settings_constraints/test.py::test_min_constraint 0.00s setup test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication 0.00s teardown test_rename_column/test.py::test_rename_parallel_same_node 0.00s teardown test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop 0.00s teardown test_select_access_rights/test_from_system_tables.py::test_information_schema 0.00s setup test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] 0.00s setup test_settings_constraints/test.py::test_read_only_constraint 0.00s setup test_rename_column/test.py::test_rename_parallel_same_node 0.00s setup test_settings_constraints/test.py::test_system_settings 0.00s setup test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] 0.00s setup test_rename_column/test.py::test_rename_with_parallel_ttl_move 0.00s setup test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select 0.00s setup test_rename_column/test.py::test_rename_with_parallel_slow_insert 0.00s setup test_ttl_replicated/test.py::test_ttl_table[] 0.00s teardown test_settings_constraints/test.py::test_max_constraint 0.00s setup test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata 0.00s teardown test_ttl_replicated/test.py::test_ttl_table[DELETE] 0.00s setup test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] 0.00s setup test_zookeeper_config/test.py::test_chroot_with_same_root 0.00s setup test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration 0.00s setup test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] 0.00s setup test_rocksdb_read_only/test.py::test_read_only 0.00s teardown test_tlsv1_3/test.py::test_create_user 0.00s teardown test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata 0.00s teardown test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] 0.00s setup test_ttl_replicated/test.py::test_ttl_many_columns 0.00s setup test_ttl_replicated/test.py::test_modify_column_ttl 0.00s teardown test_system_logs_recreate/test.py::test_drop_system_log 0.00s teardown test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] 0.00s setup test_settings_constraints/test.py::test_system_constraints 0.00s teardown test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s teardown test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] 0.00s setup test_tlsv1_3/test.py::test_https 0.00s teardown test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.00s setup test_tlsv1_3/test.py::test_https_wrong_cert 0.00s teardown test_version_update/test.py::test_aggregate_function_versioning_server_upgrade 0.00s teardown test_ttl_replicated/test.py::test_ttl_empty_parts 0.00s teardown test_timezone_config/test.py::test_check_timezone_config 0.00s setup test_timezone_config/test.py::test_overflow_toDate 0.00s setup test_settings_constraints/test.py::test_min_constraint 0.00s setup test_ttl_replicated/test.py::test_ttl_empty_parts 0.00s setup test_timezone_config/test.py::test_overflow_toDateTime 0.00s teardown test_settings_constraints/test.py::test_system_constraints 0.00s teardown test_ttl_replicated/test.py::test_modify_column_ttl 0.00s teardown test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error 0.00s setup test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error 0.00s setup test_ttl_replicated/test.py::test_modify_ttl 0.00s setup test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned 0.00s teardown test_timezone_config/test.py::test_overflow_toDate32 0.00s setup test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort 0.00s teardown test_ttl_replicated/test.py::test_ttl_columns 0.00s teardown test_timezone_config/test.py::test_overflow_toDate 0.00s teardown test_version_update/test.py::test_aggregate_function_versioning_issue_16587 0.00s setup test_version_update/test.py::test_modulo_partition_key_issue_23508 0.00s setup test_system_logs_recreate/test.py::test_system_logs_recreate 0.00s setup test_version_update/test.py::test_aggregate_function_versioning_server_upgrade 0.00s teardown test_tlsv1_3/test.py::test_https 0.00s teardown test_settings_constraints/test.py::test_read_only_constraint 0.00s setup test_ttl_replicated/test.py::test_ttl_columns 0.00s teardown test_ttl_replicated/test.py::test_modify_ttl 0.00s setup test_tlsv1_3/test.py::test_https_non_ssl_auth 0.00s teardown test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 =========================== short test summary info ============================ FAILED test_tlsv1_3/test.py::test_create_user - urllib.error.URLError: subprocess.check_call(cmd, shell=True) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'docker run --rm --name clickhouse_integration_tests_ussujc --privileged --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-odbc-bridge:/clickhouse-odbc-bridge --volume=/home/ubuntu/_work/_temp/test/build/clickhouse:/clickhouse --volume=/home/ubuntu/_work/_temp/test/build/clickhouse-library-bridge:/clickhouse-library-bridge --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/programs/server:/clickhouse-config --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/tests/integration:/ClickHouse/tests/integration --volume=/home/ubuntu/_work/_temp/test/git-repo-copy/src/Server/grpc_protos:/ClickHouse/src/Server/grpc_protos --volume=/run:/run/host:ro --volume=clickhouse_integration_tests_volume:/var/lib/docker -e DOCKER_CLIENT_TIMEOUT=300 -e COMPOSE_HTTP_TIMEOUT=600 -e XTABLES_LOCKFILE=/run/host/xtables.lock -e PYTHONUNBUFFERED=1 -e DOCKER_DOTNET_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_HELPER_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_BASE_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBERIZED_HADOOP_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_KERBEROS_KDC_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_GOLANG_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_JS_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_MYSQL_PHP_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e DOCKER_POSTGRESQL_JAVA_CLIENT_TAG=0-0a8ac3b092733da37e3e2a0079c486938a36790d -e PYTEST_OPTS='--dist=loadfile -n 10 -rfEps --run-id=0 --color=no --durations=0 test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_1 test_postgresql_replica_database_engine_2/test.py::test_database_with_multiple_non_default_schemas_2 test_postgresql_replica_database_engine_2/test.py::test_database_with_single_non_default_schema test_postgresql_replica_database_engine_2/test.py::test_materialized_view test_postgresql_replica_database_engine_2/test.py::test_predefined_connection_configuration test_postgresql_replica_database_engine_2/test.py::test_remove_table_from_replication test_postgresql_replica_database_engine_2/test.py::test_table_override test_profile_events_s3/test.py::test_profile_events test_range_hashed_dictionary_types/test.py::test_range_hashed_dict test_remote_prewhere/test.py::test_remote test_rename_column/test.py::test_rename_distributed test_rename_column/test.py::test_rename_distributed_parallel_insert_and_select test_rename_column/test.py::test_rename_parallel test_rename_column/test.py::test_rename_parallel_same_node test_rename_column/test.py::test_rename_with_parallel_insert test_rename_column/test.py::test_rename_with_parallel_merges test_rename_column/test.py::test_rename_with_parallel_select test_rename_column/test.py::test_rename_with_parallel_slow_insert test_rename_column/test.py::test_rename_with_parallel_ttl_delete test_rename_column/test.py::test_rename_with_parallel_ttl_move test_replicated_table_attach/test.py::test_startup_with_small_bg_pool test_replicated_table_attach/test.py::test_startup_with_small_bg_pool_partitioned test_rocksdb_read_only/test.py::test_dirctory_missing_after_stop test_rocksdb_read_only/test.py::test_read_only test_s3_low_cardinality_right_border/test.py::test_s3_right_border test_s3_low_cardinality_right_border/test.py::test_s3_right_border_2 test_s3_low_cardinality_right_border/test.py::test_s3_right_border_3 test_select_access_rights/test_from_system_tables.py::test_information_schema test_select_access_rights/test_from_system_tables.py::test_system_db test_settings_constraints/test.py::test_max_constraint test_settings_constraints/test.py::test_min_constraint test_settings_constraints/test.py::test_read_only_constraint test_settings_constraints/test.py::test_system_constraints test_settings_constraints/test.py::test_system_settings test_structured_logging_json/test.py::test_structured_logging_json_format test_system_logs_recreate/test.py::test_drop_system_log test_system_logs_recreate/test.py::test_system_logs_recreate test_table_functions_access_rights/test.py::test_merge test_table_functions_access_rights/test.py::test_view_if_permitted test_timezone_config/test.py::test_check_timezone_config test_timezone_config/test.py::test_overflow_parseDateTimeBestEffort test_timezone_config/test.py::test_overflow_toDate test_timezone_config/test.py::test_overflow_toDate32 test_timezone_config/test.py::test_overflow_toDateTime test_tlsv1_3/test.py::test_create_user test_tlsv1_3/test.py::test_https test_tlsv1_3/test.py::test_https_non_ssl_auth test_tlsv1_3/test.py::test_https_wrong_cert test_ttl_replicated/test.py::test_merge_with_ttl_timeout test_ttl_replicated/test.py::test_modify_column_ttl test_ttl_replicated/test.py::test_modify_ttl test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete] test_ttl_replicated/test.py::test_ttl_alter_delete[test_ttl_alter_delete_replicated] test_ttl_replicated/test.py::test_ttl_columns test_ttl_replicated/test.py::test_ttl_compatibility[node_left0-node_right0-0] test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] test_ttl_replicated/test.py::test_ttl_compatibility[node_left2-node_right2-2] test_ttl_replicated/test.py::test_ttl_double_delete_rule_returns_error test_ttl_replicated/test.py::test_ttl_empty_parts test_ttl_replicated/test.py::test_ttl_many_columns test_ttl_replicated/test.py::test_ttl_table[DELETE] test_ttl_replicated/test.py::test_ttl_table[] test_version_update/test.py::test_aggregate_function_versioning_fetch_data_from_old_to_new_server test_version_update/test.py::test_aggregate_function_versioning_issue_16587 test_version_update/test.py::test_aggregate_function_versioning_persisting_metadata test_version_update/test.py::test_aggregate_function_versioning_server_upgrade test_version_update/test.py::test_modulo_partition_key_issue_23508 test_zookeeper_config/test.py::test_chroot_with_different_root test_zookeeper_config/test.py::test_chroot_with_same_root -vvv' altinityinfra/integration-tests-runner:0-0a8ac3b092733da37e3e2a0079c486938a36790d ' returned non-zero exit status 1.